import languageList from './languageList';
class language {
  private rawLanguage: languageList;
  private newLanguage: languageList;
  constructor(r: languageList, n: languageList) {
    if (r === n) {
      throw new Error('value are the same');
    }
    this.rawLanguage = r;
    this.newLanguage = n;
  }
  public getRawLanguage():languageList {
    return this.rawLanguage
  }
  public getNewLanguage():languageList {
    return this.newLanguage
  }
}

export default language;
